package com.qfedu.model;

import java.math.BigDecimal;

public class MilkTea {
    private int tid;//奶茶id
    private String tname;//奶茶名称
    private BigDecimal price;//奶茶价格
    private String genre;//奶茶种类
    private String img_path;//图片路径

    public MilkTea() {
        super();
    }

    @Override
    public String toString() {
        return "MilkTea{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", price=" + price +
                ", genre='" + genre + '\'' +
                ", img_path='" + img_path + '\'' +
                '}';
    }

    public MilkTea(int tid, String tname, BigDecimal price, String genre, String img_path) {
        this.tid = tid;
        this.tname = tname;
        this.price = price;
        this.genre = genre;
        this.img_path = img_path;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public String getImg_path() {
        return img_path;
    }

    public void setImg_path(String img_path) {
        this.img_path = img_path;
    }
}
